
import hashlib
import string

print(string.printable)
a1="0123456789abcde"
broken_flag = 'd0g3{71b2b5616**2a4639**7d979**de964c}'
c2 = '0596d989a2938e16bcc5d6f89ce709ad9f64d36316ab80408cb6b89b3d7f064a'
for b1 in a1:
    for b2 in a1:
        for b3 in a1:
            for b4 in a1:
                for b5 in a1:
                    for b6 in a1:
                        flag1=f"d0g3{{71b2b5616{b1}{b2}2a4639{b3}{b4}7d979{b5}{b6}de964c}}"
                        flag1=flag1.encode()
                        c1 = hashlib.sha256(flag1).hexdigest()
                        if c1==c2:
                            print(flag1)



